#include "headers.h"
#include "Core.h"
//#include <windows.h>
namespace Engine
	{
	Core::Core(void)
		{
		running = false;
		logger = new Log;
		moduleManager = new ModuleManager;
		}
	
	Core::~Core(void)
		{
		delete logger;
		delete moduleManager;
		}
	int Core::run()	
		{
		/*MSG msg = {0};
		bool running = true;
		while(running) 
			{
			while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
				{
				if (msg.message == WM_QUIT)
					{
					running = false;
					break;
					}
				TranslateMessage(&msg);
				DispatchMessage(&msg);
				}
			this->eventManager->processEvents();
			}
		return (int)msg.wParam;*/
		}

	bool Core::isRunning()
		{
		return running;
		}
	}
